package cn.itcast.tanhua.mytanhuaserver.service;

import cn.itcast.tanhua.pojo.RecommendUser;
import cn.itcast.tanhua.pojo.User;
import cn.itcast.tanhua.vo.PageInfo;
import cn.itcast.tanhua.vo.TodayBest;

import java.util.List;

/**
 * @author 郭文亮
 * @since 2021/11/26 0:16
 */
public interface RecommendUserService {


    TodayBest queryWithMaxScore(List<Long> blackUserId,Long userId);

    /**
     * 调用dubbo的recommendUserApi的queryPageInfo查询推荐用户的信息
     * @param userId 当前用户id
     * @param pageNum 当前页
     * @param pageSize 每页显示的条数
     * @return pageInfo，包括pageNum，pageSize和查询到的数据
     */
    PageInfo<RecommendUser> queryPageInfo(List<Long> blackUserId,Long userId, Integer pageNum, Integer pageSize);


    Number queryScore(Long userId, Long id);
}
